package shooting.event
{
	import flash.events.Event;
	
	import shooting.ui.unit.IUnit;

	public class UnitEvents extends Event
	{
		static public var UNIT_CREATE:String = "unitCreate";
		static public var UNIT_REMOVE:String = "unitRemove";
		static public var UNIT_DESTROY:String = "unitDestroy";
		
		private var _unit:IUnit;
		
		public function UnitEvents(evt:String , unit:IUnit)
		{
			super(evt);
			_unit = unit;
		}
		
		public function get unit():IUnit
		{
			return _unit;
		}
	}
}